package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.entity.Zycz;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author surhon
* @description 针对表【zycz】的数据库操作Mapper
* @createDate 2023-07-12 21:46:12
* @Entity com.neu.fenli2023623.entity.Zycz
*/
@Mapper
public interface ZyczMapper {
    List<Map<String, Object>> selectAll();

    List<Map<String, Object>> selectByDateRangeOrPatient(String startDate, String endDate,String patientName, String cardNumber,String zyId);
    int updateAddNote(Zycz record);

    int deleteByPrimaryKey(Long id);

    int insert(Zycz record);

    int insertSelective(Zycz record);

    Zycz selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Zycz record);

    int updateByPrimaryKey(Zycz record);

}
